package com.ruipeng.shengyapo.service;

import com.ruipeng.shengyapo.comm.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by tu_pei on 17/5/28.
 */
public interface PayService {
    /**
     * 获取用户支付列表
     * @param userId
     * @return
     */
    List<Map<String,Object>> getUserPayPageList(int userId);
    int depositAdd(Map<String, Object> params);

    Map<String,Object> getUserDepositInfo(Map<String, Object> params);

    int depositBack(Map<String, Object> params);

    Page getCouponPageList(@Param("page") Page page, int userId);

    int updateUserCoupon(Map<String, Object> params);
}
